package com.itbaizhan.paymentdemo;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("com.itbaizhan.paymentdemo.mapper")  //用于mybatis-plus操作数据库
@SpringBootApplication
@Slf4j
@EnableScheduling //开启任务调度 ，开启定时器
public class PaymentDemoApplication {

    public static void main(String[] args) {

        SpringApplication.run(PaymentDemoApplication.class, args);
        log.info("************9090启动成功***********");
    }
}